.class Lcom/waiqin365/lightapp/view/eh;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnFocusChangeListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/view/EditViewSingleScan;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/view/EditViewSingleScan;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/eh;->a:Lcom/waiqin365/lightapp/view/EditViewSingleScan;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onFocusChange(Landroid/view/View;Z)V
    .locals 3

    const/4 v1, 0x4

    const/4 v2, 0x0

    if-eqz p2, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/eh;->a:Lcom/waiqin365/lightapp/view/EditViewSingleScan;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/EditViewSingleScan;->a(Lcom/waiqin365/lightapp/view/EditViewSingleScan;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/eh;->a:Lcom/waiqin365/lightapp/view/EditViewSingleScan;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/EditViewSingleScan;->b(Lcom/waiqin365/lightapp/view/EditViewSingleScan;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/eh;->a:Lcom/waiqin365/lightapp/view/EditViewSingleScan;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/EditViewSingleScan;->b(Lcom/waiqin365/lightapp/view/EditViewSingleScan;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/eh;->a:Lcom/waiqin365/lightapp/view/EditViewSingleScan;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/EditViewSingleScan;->b(Lcom/waiqin365/lightapp/view/EditViewSingleScan;)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/view/View;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/eh;->a:Lcom/waiqin365/lightapp/view/EditViewSingleScan;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/EditViewSingleScan;->b(Lcom/waiqin365/lightapp/view/EditViewSingleScan;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/eh;->a:Lcom/waiqin365/lightapp/view/EditViewSingleScan;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/EditViewSingleScan;->b(Lcom/waiqin365/lightapp/view/EditViewSingleScan;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/eh;->a:Lcom/waiqin365/lightapp/view/EditViewSingleScan;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/EditViewSingleScan;->b(Lcom/waiqin365/lightapp/view/EditViewSingleScan;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method
